<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib prefix="s"  uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/common.css" type="text/css" />
<script type="text/javascript">
function delete_confirm() { 
	var msg = "您真的确定要删除吗？\n\n请确认！"; 
	if (confirm(msg)==true){ 
	return true; 
	}else{ 
	return false; 
	} 
	} 
</script>
<title>Insert title here</title>
</head>
<body>
<div id="man_zone">
	<form action="doc_type_add.action" method="post">
		<table class="dataintable">
			<caption>文档分类列表</caption>
			<tr>
				<th width="20%">名称</th>
				<th width="60%">分类说明</th>
				<th width="20%">操作</th>
			</tr>
			<s:iterator value="#session.docTypes" var="u" status="status">
			<tr>
				<td>
				<s:property value="#u.type_name"/>
				</td>
				<td>
					<s:property value="#u.type_note"/>
				</td>
				<td>
					<a href="doc_type_modify.action?type_id=<s:property value="#u.type_id"/>">修改</a>|
					<a href="doc_type_delete.action?type_id=<s:property value="#u.type_id"/>" onClick="javascript:return delete_confirm()">删除</a>
				</td>
			</tr>
			</s:iterator>
		</table>
	</form>
	<br/><br/><br/>
</div>
</body>
</html>